package com.demo.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 宗门
 * */
@Data
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class Sect {
    private Integer id;
    @NotEmpty
    private String name;
    private String desc;
    @NotNull
    private Integer parentId;

    private List<Sect> sectList;

    private List<HrmResource> hrmResourceList;
}
